<?php
class Zendme_SlugFilter{
	
	public function createSlug($string)
	{
		$filter = new Zend_Filter();
		$multiFilter = $filter->addFilter(new Zend_Filter_StringToLower(array('encoding'=>'UTF-8')))
							  ->addFilter(new Zend_Filter_Alnum(true))							 
							  ->addFilter(new Zend_Filter_Word_SeparatorToDash())
							  ->addFilter(new Zendme_Filter_RemoveCircumflex());
							  
		$slug = $multiFilter->filter($string); 
		return $slug;
		
	}
}